package com.ay277.htqoa.base.biz;

import java.io.Serializable;
import java.util.List;
/**
 * Created by accp09 on 2016/12/7.
 */
public interface Biz<E extends Serializable,PK extends Serializable> {

    void doSave(E entity);
    void doUpdate(E entity);
    void doDelete(E entity);
    E findById(PK id);
    List<E> findAll();


}